package com.jpz.bean;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jpz
 * @since 2018-11-19
 */
@TableName("t_applytype")
public class Applytype implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String pdkey;
    private String type;
    

    public Applytype() {
		super();
	}
    
	public Applytype(String pdkey, String type) {
		super();
		this.pdkey = pdkey;
		this.type = type;
	}

	public Applytype(Integer id, String pdkey, String type) {
		super();
		this.id = id;
		this.pdkey = pdkey;
		this.type = type;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPdkey() {
        return pdkey;
    }

    public void setPdkey(String pdkey) {
        this.pdkey = pdkey;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Applytype{" +
        ", id=" + id +
        ", pdkey=" + pdkey +
        ", type=" + type +
        "}";
    }
}
